package com.atguigu.spzx.model.vo.common;

public class Test1 {
    public static void main(String[] args) {
        Result<String> r = Result.build("", 200, "成功");
        System.out.println(r);

        Result<String> r2 = Result.ok("数据");
        System.out.println(r2);

        Result<Object> fail  = Result.fail();
        System.out.println(fail);

        Result<Object> fail2 = Result.fail("用户密码错误");
        System.out.println(fail2);
    }
}
